Skip to content

PDFCosDictionary.GetKeyValueAsBool Method

GetKeyValueAsBool(PDFCosName,Boolean)

Gets the value of the specified key as a boolean.

C#
public bool GetKeyValueAsBool(PDFCosName key, bool defaultValue)

Parameters

key PDFCosName

Key to return.

defaultValue Boolean

Default value to return if the key does not exist.